package com.ios.dao;

import com.ios.entity.RelativeLocation;

import java.util.List;

public interface RelativeLocationMapper {
    /**
    *@Author:WenTao
    *@Description:增加一条位置信息
    *@Date:19:34 2018/7/22
    */
    int insert (RelativeLocation relativeLocation);

    /**
    *@Author:WenTao
    *@Description:根据监护人id查询位置信息
    *@Date:19:35 2018/7/22
    */
    List<RelativeLocation> selectByRelative (int relativeId);

    /**
    *@Author:WenTao
    *@Description:根据id查询位置信息
    *@Date:9:40 2018/7/23
    */
    RelativeLocation selectById(int id);
}
